package cn.yy.pos.launcher.service;

import android.os.Parcel;
import android.os.Parcelable;

public class Payway implements Parcelable {
	private String universalid;
	private String paywayname;
	private String paywaynum;
	private String flag;
	private String remark;
	private String classStr;

	public Payway(){};
	protected Payway(Parcel in) {
		classStr = in.readString();
		flag = in.readString();
		universalid = in.readString();
		paywayname = in.readString();
		paywaynum = in.readString();
		remark = in.readString();
	}

	public static final Creator<Payway> CREATOR = new Creator<Payway>() {
		@Override
		public Payway createFromParcel(Parcel in) {
			return new Payway(in);
		}

		@Override
		public Payway[] newArray(int size) {
			return new Payway[size];
		}
	};

	public String getUniversalid() {
		return universalid;
	}
	public void setUniversalid(String universalid) {
		this.universalid = universalid;
	}
	public String getPaywayname() {
		return paywayname;
	}
	public void setPaywayname(String paywayname) {
		this.paywayname = paywayname;
	}
	public String getPaywaynum() {
		return paywaynum;
	}
	public void setPaywaynum(String paywaynum) {
		this.paywaynum = paywaynum;
	}
	public String getFlag() {
		return flag;
	}
	public void setFlag(String flag) {
		this.flag = flag;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Override
	public int describeContents() {
		return 0;
	}

	@Override
	public void writeToParcel(Parcel out, int flags) {
		out.writeString(getUniversalid());
		out.writeString(getPaywayname());
		out.writeString(getPaywaynum());
		out.writeString(getFlag());
		out.writeString(getRemark());
	}
}
	
	
	